﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="BaoCaoThuongNien.aspx.cs" Inherits="DM.Web.BaoCaoThuongNien" Title="Công ty cổ phần Đường Man - Duong Malt JSC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="divBaoCao">
    <h3 style="color:#145066; font-size: 14px;"><asp:Label ID="lbBCTC" runat="server" Text="Danh sách báo cáo thường niên"></asp:Label></h3>
    <hr style="color:#f1f1f1;" />
    <div id="searchBCTC">
        <span>Xem theo </span>
        <asp:DropDownList ID="dlQuy" runat="server" Width="80px">
            <asp:ListItem Value="0" Text="Qu&#253;"></asp:ListItem>
            <asp:ListItem Value="1" Text="Quý 1"></asp:ListItem>
            <asp:ListItem Value="2" Text="Quý 2"></asp:ListItem>
            <asp:ListItem Value="3" Text="Quý 3"></asp:ListItem>
            <asp:ListItem Value="4" Text="Quý 4"></asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="dlNam" runat="server" Width="80px">
        </asp:DropDownList>
        <asp:Button ID="btnFilter" runat="server" Text="Tìm" OnClick="btnFilter_Click"/>
    </div>
    <div id="danhsachBCTC" style="margin:7px;padding:20px; background-color:#fff">
        <asp:GridView ID="gridViewBCTC" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AutoGenerateColumns="False" ShowHeader="False">
            <RowStyle BackColor="White" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <b style="color:#145066">Báo cáo thường niên quý <%# convertQuy(Eval("Quy").ToString()) %>/<%#Eval("Nam") %></b><br />
                        <span style="padding-left: 10px"><%#Eval("Tenbaocao").ToString() %></span>
                        <hr style="color:#f1f1f1;"/>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <a href='<%#"../../"+Eval("TenFile")%>'><img src="Images/download.gif" alt="Tải báo cáo về máy"/></a>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>        
        </asp:GridView>
    </div>
</div>
</asp:Content>
